package com.houxy.repository.mapper;

import com.houxy.repository.model.entity.Register;

import java.util.List;

public interface RegisterMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Register record);

    int insertSelective(Register record);

    Register selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Register record);

    int updateByPrimaryKey(Register record);

    List<Register> findRegiserByUser(int userId);

    List<Register> findRegiserByExpert(int expertId);


    void updateStatusById(Integer id);
}